package mr.zhang.dao;

import mr.zhang.dao.domain.Button;

import java.util.List;



public interface ButtonDao {
	//添加一级菜单
	public void saveButton(Button button);
	
	// 删除一级菜单
	 public void deleteButton(int id);
	 
	 //更新一级菜单
	 public void updateButton(Button button);
	 
	 //根据id查询一级菜单
	 public Button queryButtonById(int id);
	 
	 //查询全部一级菜单
	 public List<Button> queryButton();
	
	

}
